package com.example.commonmistak.apidesign.common;

import lombok.Getter;

/**
 * @author xionggg
 */
@Getter
public enum ExceptionEnum {
    /**
     * 100  用户不存在
     */
    USER_NOT_EXISTS(100, "用户不存在");

    private final int code;
    private final String message;

    ExceptionEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
